import request from '@/utils/request.ts';

//查询列表接口
export function restList(data) {
	return request({
		url: '/admin/plan/therapistPlan/restList',
		method: 'get',
		params: data
	})
}
// 查询月排版 

export function monthPlan(data) {
	return request({
		url: '/admin/plan/therapistPlan/monthPlan',
		method: 'get',
		params: data
	})
}

// 查询日排版 各组 
export function dayGroupPlan(data) {
	return request({
		url: '/admin/plan/therapistPlan/dayGroupPlan',
		method: 'get',
		params: data
	})
}

// 查询日排版 各属性 


export function dayAttributePlan(data) {
	return request({
		url: '/admin/plan/therapistPlan/dayAttributePlan',
		method: 'get',
		params: data
	})
}
// 查询  治疗师排版 
export function dayIntervalPlan(data) {
	return request({
		url: '/admin/plan/therapistPlan/dayIntervalPlan',
		method: 'get',
		params: data
	})
}
// 组长身份的时候查询 
export function monthAttributePlan(data) {
	return request({
		url: '/admin/plan/therapistPlan/monthAttributePlan',
		method: 'get',
		params: data
	})
}
// 获取父级 id 
export function getParent(data) {
	return request({
		url: '/admin/user/organization/getParent',
		method: 'get',
		params: data
	})
}

// 获取时间列表 

export function getTimeList(data) {
	return request({
		url: '/admin/plan/therapistPlan/getTimeList',
		method: 'get',
		params: data
	})
}

// 待定组数量 

export function waitNumber(data) {
	return request({
		url: '/admin/plan/patientTreatment/waitNumber',
		method: 'get',
		params: data
	})
}
// 查询患者详情

export function patientIfo(data) {
	return request({
		url: '/admin/user/patient/info',
		method: 'get',
		params: data
	})
}
// 查询患者治疗方案 

export function schemeList(data) {
	return request({
		url: '/admin/plan/patientTreatment/schemeList',
		method: 'get',
		params: data
	})
}